<template>
    <div class="not-found">
      <div class="content">
        <h1>404</h1>
        <h2>页面未找到</h2>
        <p>抱歉，我们找不到您请求的页面。</p>
        <router-link to="/" class="home-link">返回首页</router-link>
      </div>
     
    </div>
  </template>
  
  <script setup>
  </script>
  
  <style lang="scss">
  .not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f9f9f9;
    text-align: center;
  
    .content {
      margin-bottom: 20px;
  
      h1 {
        font-size: 5rem;
        color: skyblue;
        margin: 0;
      }
  
      h2 {
        font-size: 2rem;
        color: #333;
        margin: 0.5rem 0;
      }
  
      p {
        color: #666;
        font-size: 1.2rem;
      }
  
      .home-link {
        display: inline-block;
        margin-top: 15px;
        padding: 10px 20px;
        background-color: skyblue;
        color: white;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s;
  
        &:hover {
          background-color: skyblue;
        }
      }
    }
  
    .illustration {
      width: 300px; /* 根据需要调整 */
      height: auto;
    }
  }
  </style>
  